package com.panshi.repast.Cache;

import android.os.AsyncTask;

/**
 * 清楚异步任务
 * @author Administrator
 *
 */
@SuppressWarnings("rawtypes")
public class AsnsyTaskCache {
	/**
	 * 清理异步任务对象
	 * 
	 * @param mAsyncTask
	 */
	public static void cancelAsyncTask(AsyncTask mAsyncTask) {
		if (mAsyncTask != null) {
			mAsyncTask.cancel(true);
			mAsyncTask = null;
		}
	}
}
